<?php

/**
 * @file defines.php
 *
 * GLOBAL CONFIGURATION FILE. We write here only those constants which should not be rewritten and will never change.
 * This file should not contain constants related to some country / project only! Use the Config class instead.
 */

/**
 * Directory separator.
 */
define('DS', '/');


/**
 * The ROOT path of the entire engine.
 */
define('ROOT_PATH', dirname(__FILE__).DS);

/**
 * Classes path definitions
 */

// Global classes path
define('CLASSES_PATH', ROOT_PATH.'classes'.DS);

define ('CACHE_TIME', 300); // In seconds


/**
 * Templates/Views path definitions
 */


// Global templates path
define('TEMPLATES_PATH', ROOT_PATH.'templates'.DS);

// The extension of all the template/view files
define('TEMPLATES_EXTENSION', '.phtml');

//PHP file Extension
define('PHP_FILE_EXTENSION', '.php');

// The default name of the container.phtml file which wraps the entire page content
define('TEMPLATES_DEFAULT_CONTAINER', 'container');


/*
 *  Tables from Database
 */


// Menus and Pages
define('TAB_MENUS', 'menus');
define('TAB_MENU_PAGES', 'menu_pages');
define('TAB_PAGES', 'pages');
define('TAB_PAGE_TYPES', 'page_types');